package com.csce.domain.entity.basic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.osce.common.annotation.Excel;
import com.osce.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * 用户经历对象 basic_user_experience
 *
 * @author zzx
 * @since 2023-07-18
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
@EqualsAndHashCode(callSuper = true)
public class BasicUserExperience extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("${comment}")
    private Long id;

    /**
     * 用户编号
     */
    @Excel(name = "用户编号")
    @ApiModelProperty("用户编号")
    private Long userId;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("结束时间")
    private Date endTime;

    /**
     * 单位或学校名称
     */
    @Excel(name = "单位或学校名称")
    @ApiModelProperty("单位或学校名称")
    private String place;

    /**
     * 专业
     */
    @Excel(name = "专业")
    @ApiModelProperty("专业")
    private String career;

    /**
     * 证明人
     */
    @Excel(name = "证明人")
    @ApiModelProperty("证明人")
    private String certifier;

    /**
     * 预留字段1
     */
    @ApiModelProperty("证明人")
    private String reservedOne;

    /**
     * 预留字段2
     */
    @ApiModelProperty("证明人")
    private String reservedTwo;

}
